package com.neusoft.ex2;

public abstract class Person {

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Person(String name) {
		super();
		this.name = name;
	}

	public Person() {
		super();
	}
	public void sleep(){
		System.out.println("sleep................");
	}
	
	public abstract void eat();
}
